package com.dahua.decorator;

/**
 * 抽象的装饰者类
 * @author sunhongguang
 * @create 2022-01-23-15:07
 */
public abstract class Finery extends Person {

    private Person person;

    public Finery(Person person) {
        this.person = person;
    }

    public void show(){
        if(person != null){
            person.show();
        }
    }
}
